#define ALIGN_LEFT 0
#define ALIGN_CENTER 1
#define ALIGN_RIGHT 2
#define ON 1
#define OFF 0
#define UNDEF -1

#define UNDERLINE	0x80000000
#define ITALIC		0x40000000
#define BOLD		0x20000000
#define ALIGN		0x1800000
#define FONTSIZE	0xFF00
#define FONTTYPE	0xFF

struct settings {
	unsigned int fontType	: 8;
	unsigned int fontSize	: 8;
	unsigned int			: 7;
	unsigned int align		: 2;
	unsigned int			: 4;
	unsigned int bold		: 1;
	unsigned int italic		: 1;
	unsigned int underline	: 1;
};
union View {
	struct settings v_st;
	unsigned int v_byte;
};
void showSettings(struct settings *);
void showMenu(void);
void changeFontType(unsigned int *);
void changeFontSize(unsigned int *);
void changeAlignment(unsigned int *);
void setBold(unsigned int *);
void setItalic(unsigned int *);
void setUnderline(unsigned int *);
void changeSettings(unsigned int *, int, int);
int onoff(void);
